<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Pendaftaran extends CI_Controller {

    function __construct() {
        parent::__construct();

        /* Standard Libraries of codeigniter are required */
        $this->load->database();
        $this->load->helper('url');
        /* ------------------ */

        $this->load->library('ExCRUD');
    }        
    
    function daftar_baru($no_hp, $nickname, $id_upline = ""){
        $this->load->model('model_transaksi');
        $this->model_transaksi->add_new_member($no_hp, $nickname,  $id_upline, "test@gmail.com", strtoupper(md5("123456")), "123456");
//          $this->model_transaksi->completing_board(2);
//        $this->model_transaksi->add_node_in_board(6,1,3);
//        $this->model_transaksi->completing_level_poin(6);
    }  
}



/* End of file main.php */
/* Location: ./application/controllers/main.php */